package com.lock.immersive.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lock.immersive.pojo.domain.User;
import com.lock.immersive.pojo.dto.UserAccountDto;
import com.lock.immersive.pojo.dto.UserDto;
import com.lock.immersive.utils.ResponseApi;

import javax.servlet.http.HttpServletRequest;

/**
* @author zhao
* @description 针对表【user】的数据库操作Service
* @createDate 2023-07-02 00:04:03
*/
public interface UserService extends IService<User> {

    ResponseApi<Object> register(UserDto userDto);

    ResponseApi<Object> login(UserDto userDto);

    ResponseApi<Object> sendSMS(String phone);

    ResponseApi<Object> updateUserInfo(User user);

    User getLoginUser(HttpServletRequest request);
}
